<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2017/11/6
  Time: 10:27
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" pageEncoding="UTF-8" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<c:set var="ctx" value="${pageContext.request.contextPath}"/>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title>首页</title>
    <script src="${ctx }/static/js/jquery.min.js"></script>
</head>
<body>
<!-- 导航栏 -->
<jsp:include page="../../jsp/common/head.jsp" />

<!-- 中部主体部分 -->
<div class="conter">
    <div class="left">
        <div class="top">上部主题内容区</div>
        <div class="next">下部评论区</div>
    </div>
    <div class="right">
        <div class="calendar">日历模块</div>
        <div class="photo">相册模块</div>
        <div class="collect">收藏模块</div>
        <div class="daily_record">日志模块</div>
    </div>
</div>

<!-- 底部 -->
<jsp:include page="../../jsp/common/foot.jsp" />
</body>

<script type="text/javascript">
    $(function () {
        var random = Math.random();
        if (random < 0.5) {
            // 获取博客

        } else {
            // 获取照片
        }
    })
</script>
</html>
